{include file="common/header.tpl"}
    <div id="vfriendContainer">    	
    	{if $AppUI->id > 0}        
            <div id="mainContent3C">
                <div class="vfriendContainer3C">            
                    <div class="vfriendContent3C">
                    	<div class="leftCol">
                       		{vfriend_navi id=$AppUI->id}                        
                       	</div>
                       	<div class="rightCol">
                        	<div class="midCol">
                            	{include file="index/box-behaviour.tpl"}
                            </div>
                            <div class="extCol">
                            	{include file="index/box-vfriend.tpl"}
                            	{include file="index/box-news.tpl"}
                            	{include file="index/box-place.tpl"}
                               	{include file="index/box-shoutbox.tpl"}
                                {include file="index/box-invite.tpl"}
                           	</div>                            
                        </div>
                    </div>
                </div>
            </div>
    	{else}
    	   	<div id="mainContent">
                <div class="vfriendContainer">            
                    <div class="vfriendContent">
                    	<div class="boxBg"><a href="{$smarty.const.HOST_VFRIEND}"><img src="{$smarty.const.HOST_STATICS}img/bg/couple.png" border="0" width="495" height="489" alt="{$smarty.const.HOST_VFRIEND},ket ban,an choi,diem tin,ket noi,lam quen" /></a></div>
                        {include file="common/box-login.tpl"}
                        {include file="index/box-register.tpl"}
                    </div>
                </div>
            </div>
    	{/if}
    </div>
{include file="common/footer.tpl"}
